/**
 *   This file 'Lirc.h' is part of ppi-server.
 *   Created on: 28.01.2011
 *
 *   ppi-server is free software: you can redistribute it and/or modify
 *   it under the terms of the Lesser GNU General Public License as published by
 *   the Free Software Foundation, either version 3 of the License, or
 *   (at your option) any later version.
 *
 *   ppi-server is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   Lesser GNU General Public License for more details.
 *
 *   You should have received a copy of the Lesser GNU General Public License
 *   along with ppi-server.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef LIRC_H_
#define LIRC_H_

#include "ExternPort.h"

namespace subroutines
{

	class Lirc : public ExternPort
	{
	public:
		Lirc(ofstream& out, const string& name);
		virtual void premote(const string& content, const string& desc= "");
		virtual void pcode(const string& content, const string& desc= "");
		virtual void pcount(const double& content, const string& desc= "");
		virtual void pcount(const string& content, const string& desc= "");

	private:
		using ExternPort::pid;
		using ExternPort::ppin;
	};

}

#endif /* LIRC_H_ */
